{template header}
<div class="maininfo">

	<div class="lattice x1" style="padding-left: 0;">
		{template userlogin}
		<!--{template gifts_left}-->
	</div>
	
	<div class="lattice x4" style="padding-right: 0;">
	
		<div class="giftlist">
		
			<h3 class="title_cla4">礼品信息</h3>
			
			<div class="giftinfo">
				<div class="hd">
					<div class="pic">
						<a target="_blank" href="{$gifts[picture]}" title="查看大图">
						<img alt="{$gifts[title]}" src="{$gifts[picture]}" width="200" /></a>
						<br />
						<a target="_blank" href="{$gifts[picture]}" title="查看大图">查看大图</a>
					</div>
					<div class="text">
						<div>
							<p class="title_cla4">{$gifts[title]}</p>				
							<p>兑换积分：<span class="high">{$gifts[credit]}</span>
							<!--{if $userInfo[userId]}-->
							&nbsp;&nbsp;您的积分是：{$userInfo[credit]}
								<!--{if $userInfo[credit]<$gifts[credit]}-->
								&nbsp;不够兑换此物品
								<!--{/if}-->
							<!--{/if}-->
							</p>				
							<p>开始日期：<span class="high">{$gifts[startDate]}</span></p>
							<p>结束日期：<span class="high">{$gifts[endDate]}</span></p>
							<!--{if $gifts[inventory] <= 0}-->
							<p>是否缺货：暂时缺货</p>
							<!--{else}-->
							<p>库存：<span class="high">{$gifts[inventory]}</span></p>
							<!--{/if}-->
							<p><input name="" type="image" src="{GODHOUSE_DOMAIN_IMAGE}images/default/button_gifts.gif" onclick="ajaxmenu('gifts-convert-{$gifts[giftsId]}.htm', 0)"></p>
						</div>
				
					</div>
				</div>
				
				<div class="bd">
					<h3 class="title_cla2"><span>礼品描述</span></h3>
					<div class="">{$gifts[content]}</div>
				</div>
				
			</div>
			
		</div>
		
	</div>
</div>
{template footer}